<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/faxian.css"/>
		<title></title>
	</head>
	<body>
		<div id="web">
			<!--头部-->
			<header class="clearfix">
				<a href="Home.html">
					<div class="back fl">
					back
					</div>
				</a>
				
				
				<div class="selectbar fr">
                <select name="">
                    <option value="广州">广州</option>
                    <option value="深圳">深圳</option>
                </select>
           </div>
            	<div class="fenlei-p">
            		<p>发现</p>
            	</div>
			</header>
			<!--内容-->
			<!--搜索框-->
			<div class="session">
				<div class="searchbar">
				<input type="text" placeholder="请输入商品名称"/>
				<img src="img/fdj.jpg"/>
				</div>
				<p class="session-p">大家都在搜</p>
				<!--分类-->
				<ul class="faxian-ul clearfix">
					<li class="fl">寿司</li>
					<li class="fl">羽毛球</li>
					<li class="fl">火锅</li>
					<li class="fl">游泳馆</li>
					<li class="fl">电影</li>
					<li class="fl">周黑鸭</li>
					<li class="fl">KTV</li>
					<li class="fl">肯德基</li>
				</ul>
				<div class="common-top clearfix">
				<p>
					更多
					<i class="iconfont icon-you"></i>
				</p>
				<span>
					<img src="img/session-icon_03.png"/>
				</span>
				<h3>
					热门搜索
				</h3>
				</div>
				<div class="hotso1">
					<div class="hs-1">
						<img src="img/hotso_03.png"/>
					</div>
					<div class="hs-2">
						<img src="img/hotso_05.png"/>
					</div>
					<div class="hs-3">
						<img src="img/hotso_08.png"/>
					</div>
					<div class="hs-4">
						<img src="img/hotso_10.png"/>
					</div>
				</div>
				<div class="common-top clearfix">
				<p>
					更多
					<i class="iconfont icon-you"></i>
				</p>
				<span>
					<img src="img/session-icon_07.png"/>
				</span>
				<h3>
					热门搜索
				</h3>
				</div>
				<div class="hotso2">
					<div class="hotimg1"><img src="img/hotso_16.png"/></div>
					<div class="hotimg2"><img src="img/hotso_18.png"/></div>
					<div class="hotimg3"><img src="img/hotso_20.png"/></div>
				</div>
				
				
			</div>
			
			<!--底部-->
		<footer>
			<ul class="clearfix">
				<li class="fl">
					<a href="Home.html">
						<i class="iconfont icon-path"></i>
						<p>首页</p>
					</a>
				</li>
				<li  class="fl">
					<a href="fenlei.html">
						<i class="iconfont icon-classify"></i>
						<p>分类</p>
					</a>
				</li>
				<li class="fl">
					<a href="faxian.html">
						<i class="iconfont icon-zhinanzhen"></i>
						<p>发现</p>
					</a>
				</li>
				<li class="fl">
					<a href="mine.html">
						<i class="iconfont icon-user"></i>
						<p>我的</p>
					</a>
				</li>
			</ul>
		</footer>
			
			
			
			
			
			
			
			
		</div>
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		<!--自动计算跟字体大小的脚本-->
		<script>
			//安卓的输入法虚拟键盘会影响body的高度，所以在加载时，将body的原本高度给固定住
			document.body.style.height = window.innerHeight + "px";

			/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
				// 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>
	</body>
</html>
